package com.blindnews.mapper;

import com.blindnews.pojo.Channel;
import com.blindnews.pojo.News;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NewsMapper {
    public int addchannel(List<Channel> channelList);
    public int addnews(List<News> newsList);
    public List<News> getNewsList(String channelId);
    public List<Channel> getChannel();

    public void addNewsInfo(String info);

    News upLoadNews(String id);
}
